package com.wfc.dao;

import com.wfc.entity.Cook;

import java.util.List;

public interface CookDao {
    //查看信息
    public List<Cook> getCookByTitle();
    //增加信息
    public boolean addCook(Cook cook);

    //通过菜单名查看
    public Cook selectBydname(String dname);

    //根据id修改菜谱信息
    public int update(Cook cook);

    //通过照片查找
    public Cook selectByimg(String cooking);

    //通过用户名查看
    public List<Cook> selectByuname(String uname);

    public Cook selectBydname1(String uname);
}
